package com.baitiaojun.auth.mapper;

import com.baitiaojun.api.domain.auth.AuthRoleMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface AuthRoleMenuMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AuthRoleMenu record);

    int insertSelective(AuthRoleMenu record);

    AuthRoleMenu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AuthRoleMenu record);

    int updateByPrimaryKey(AuthRoleMenu record);

    List<AuthRoleMenu> selectAuthRoleMenusByRoleIds(@Param("roleId") Long roleId);
}